import axios from 'axios';

const ajax=axios.create({
    baseURL:'http://rap2api.taobao.org/app/mock/117651'
})

export const getSwiper=()=>{
    return ajax.get('/api/swiper')
}

export const getSwiperto=()=>{
    return ajax.get('/api/swiper_tu')
}

export const getList=(id)=>{
    return ajax.get(`api/list/${id}`)
}

